package com.ytjj.qmyx.admin.dao;

import com.ytjj.qmyx.admin.model.request.PhoneRechargeRequest;
import com.ytjj.qmyx.admin.model.response.PhoneRechargeResponse;
import com.ytjj.qmyx.mall.model.PhoneRecharge;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 
 *
 * @Version: 1.0
 */
public interface PhoneRechargeDao {

    List<PhoneRechargeResponse> getList(PhoneRechargeRequest phoneRechargeRequest);

    PhoneRecharge getById(@Param("id") Integer id);

    int updateByPhoneRecharge(PhoneRecharge phoneRecharge);

    int insert(PhoneRecharge record);

}
